<template>
  <el-input-number
    style="width: 100%"
    :precision="item.precision || 2"
    :controls="item.controls || false"
    :disabled="item.disabled"
    v-model="model"
    @change="handleChange"
    :min="item.min"
    :max="item.max"
    :placeholder="getPlaceholder('请输入')"
  ></el-input-number>
</template>

<script>
import yDefault from './y-default.vue'
export default {
  name: "numberInput",
  includesComponent: ['number'],
  extends: yDefault,
};
</script>